<?php

use backend\assets\AdminAsset;
use common\service\GlobalUrlService;

AdminAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <title><?=$this->title ?></title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <?php $this->head() ?>
</head>
<body id="login-body">
<?php $this->beginBody() ?>

<div class="login-header">
    <div id="logo" class="center">
        <img src="<?=GlobalUrlService::buildStaticUrl('/img/logo.png')?>" alt="logo" class="center" />
    </div>
</div>

<div id="login">
    <?=$content ?>
</div>

<div id="login-copyright">
    2018 &copy;
</div>
<?php $this->endBody() ?>
<script>
    jQuery(document).ready(function() {
        App.initLogin();
    });
</script>
</body>
</html>
<?php $this->endPage() ?>